package com.home.qh.dao;

import java.util.List;

import com.home.qh.model.City;
import com.home.qh.model.Port;

/**
 * Role Data Access Object (DAO) interface.
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface PortDao extends GenericDao<Port, Long> {
    /**
     * Gets role information based on PortDao
     * @param PortDao the PortDao
     * @return populated role object
     */
	List<Port> getPortByCodeAndName(String portCode, String portName);
	
	List<Port> getPortByPort(Port port, String sort, boolean desc, int startResult, int maxResults);
    
}
